package com.wn.icloud.provider.uac.controller;

import com.wn.icloud.provider.uac.entity.InnovativeInformation;
import com.wn.icloud.provider.uac.service.InnovativeInformationService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * 创新信息表(InnovativeInformation)表控制层
 *
 * @author makejava
 * @since 2020-04-24 22:23:02
 */
@RestController
@RequestMapping("innovativeInformation")
public class InnovativeInformationController {
    /**
     * 服务对象
     */
    @Resource
    private InnovativeInformationService innovativeInformationService;

    /**
     * 通过主键查询单条数据
     *
     * @param id 主键
     * @return 单条数据
     */
    @GetMapping("selectOne")
    public InnovativeInformation selectOne(String id) {
        return this.innovativeInformationService.queryById(id);
    }

}